﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace SiteAgle.Models
{
    public partial class Tarefa
    {
        public int TotalComentario
        {
            get {

                return this.Comentarios.Count();
            
            }
        }
        public int TotalComentarioNaoLido
        {
            get
            {

                return this.Comentarios.Where(c=>c.Lido==false).Count();

            }
        }
    }
}